package DARCOShared.responses;

import java.util.HashMap;
import java.util.Vector;


public class GetCardListByOwnerResponse implements ResponseBase, java.io.Serializable {
	private static final long serialVersionUID = 1L;
	
	//vector contenente le info sulle carte
	public Vector<HashMap<String, Object>> cardList;
	public String error;
	public boolean err;

	public GetCardListByOwnerResponse() {}
	public GetCardListByOwnerResponse(String error){
		this.err=true;
		this.error=error;
	}
	
	public GetCardListByOwnerResponse(Vector<HashMap<String, Object>> c){
		this.cardList=c;
		this.err=false;
	}
	
	@Override
	public ResponseType getResponseType() {
		return ResponseType.GetCardListByOwner;
	}

}
